package com.boss.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("Boss_user")
public class User implements Serializable {
    private final static long SerialVersionUID = 1L;

    @TableId(value = "_id",type = IdType.ASSIGN_UUID)
    private String id;
    private String username;
    private String password;
    private String sex;
    private String age;
    private String edu;
    private String school;
    private String cover;
}
